package com.zy.algorithm.v3.sort

import com.zy.view.DIYSortView
import com.zy.utils.data.Point

class ShowAllPointFragment : BaseV3SortFragment() {

    override fun setSortData(diyV4: DIYSortView) {
        val array = intArrayOf(
            10, 12, 23, 43, 564
        )
        val d = 100
        diyV4.setD(d)
        Point.Type.values().forEachIndexed { index, type ->
            diyV4.create(3, index + 1, array, type)
        }
    }
}